﻿namespace UnityEngine
{
    using System;
    using System.Runtime.CompilerServices;

    public sealed class MeshCollider : Collider
    {
        public bool convex { [MethodImpl(MethodImplOptions.InternalCall), WrapperlessIcall] get; [MethodImpl(MethodImplOptions.InternalCall), WrapperlessIcall] set; }

        [Obsolete("mesh has been replaced with sharedMesh and will be deprecated")]
        public Mesh mesh
        {
            get
            {
                return this.sharedMesh;
            }
            set
            {
                this.sharedMesh = value;
            }
        }

        public Mesh sharedMesh { [MethodImpl(MethodImplOptions.InternalCall), WrapperlessIcall] get; [MethodImpl(MethodImplOptions.InternalCall), WrapperlessIcall] set; }

        public bool smoothSphereCollisions { [MethodImpl(MethodImplOptions.InternalCall), WrapperlessIcall] get; [MethodImpl(MethodImplOptions.InternalCall), WrapperlessIcall] set; }
    }
}

